package com.example.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.domain.entity.TrainClassHomework;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.param.TrainClassUserParam;

/**
* @author DaoJia
* @description 针对表【train_class_homework(培训系统-班级-作业关系)】的数据库操作Service
* @createDate 2024-02-01 21:45:53
*/
public interface TrainClassHomeworkService extends IService<TrainClassHomework> {

    TrainClassHomework selectByHwIdAndClassId(Long homeworkId, Long trainClassId);

    void deleteByHwIdAndClassId(Long homeworkId, Long trainClassId);

    Page<TrainClassHomework> queryByParam(TrainClassUserParam trainClassUserParam);
}
